//
//  AppDelegate+XMPConfigThirdSDK.m
//  MonkeyPlayVideo
//
//  Created by jingen zhuang on 2024/6/19.
//

#import "AppDelegate+XMPConfigThirdSDK.h"

@implementation AppDelegate (XMPConfigThirdSDK)

- (void)configLocalSDK
{
    // navibar 配置
    [GKConfigure setupCustomConfigure:^(GKNavigationBarConfigure * _Nonnull configure) {
        configure.backgroundColor = [UIColor clearColor];
        configure.titleColor = Color333333;
        configure.titleFont = kFont_Semibold(18);
        configure.statusBarStyle = UIStatusBarStyleDefault;
        configure.gk_navItemLeftSpace = 12;
        configure.gk_navItemRightSpace = 12;
        configure.gk_restoreSystemNavBar = YES;
        configure.openSystemFixSpace = YES;
        configure.lineHidden = YES;
        configure.backStyle = GKNavigationBarBackStyleBlack;
        configure.blackBackImage = HKImageName(@"ic_back_black_global");
    }];
    
    // 设置手势返回
    [GKGestureConfigure setupCustomConfigure:^(GKGestureHandleConfigure * _Nonnull configure) {
        configure.gk_scaleX = 0.90;
        configure.gk_scaleY = 0.92;
        configure.gk_openScrollViewGestureHandle = YES;
    }];
}

@end
